/**
 * 
 */
package ar.unq.edu.agenda.domain;

import java.util.Date;

/**
 * Esta clase solo se utiliza para la búsqueda
 * @author nicolas
 *
 */
public class ContactExample extends Contact {
 
	private static final long serialVersionUID = 1L;

	public ContactExample()
	{
		super();
	}
	
	public ContactExample(String name, String lastName, String phone, String email, Date birthDate, String comments, City city)
	{
		super(name, lastName, phone, email,birthDate, comments, city);
	}	
	
	//Sobreescribo todos los setters para que no realicen validaciones
	@Override
	public void setName(String name)
	{
		this.name = name;
	}
	
	@Override
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	
	@Override
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Override
	public void setEmail(String email) {
		this.email = email;
	}


	
}
